package com.lin.sqltool.common;

import java.util.List;

public class SqlExecutionResult {
    private final boolean isQuery;
    private final List<List<String>> tableData;
    private final String message;

    public SqlExecutionResult(boolean isQuery, List<List<String>> tableData, String message) {
        this.isQuery = isQuery;
        this.tableData = tableData;
        this.message = message;
    }

    public boolean isQuery() {
        return isQuery;
    }

    public List<List<String>> getTableData() {
        return tableData;
    }

    public String getMessage() {
        return message;
    }
}
